public class RunStudent {
    public static void main(String[] args) {
        Semaphore smp = new Semaphore(1);
        for(int i=0;i<10;i++){
            StudentTask s = new StudentTask(smp,"s"+i);
            new Thread(s).start();
        }
    }
}
